package com.liu.activiti.enums;

public enum HttpStateEnum {
    SUCCEED(200,"请求成功"),

    NOACTHORITY (401,"用户无权限"),

    ERROR (500,"系统异常"),

    TOKENERROR (401,"用户token异常，请重新登陆！"),


    ;
    private Integer code;

    private String messages;

    HttpStateEnum(Integer code, String messages) {
        this.code = code;
        this.messages = messages;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessages() {
        return messages;
    }

    public void setMessages(String messages) {
        this.messages = messages;
    }
}
